<!--<link rel="stylesheet" type="text/css" href="../../../../../../public/css/front/main.css">-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td height="62" align="center" class="myheader">
            分类：
            <a class="cat" href="/index/" title="全部">全部</a>
            <?php
                if (count($this->catList)) {
                    foreach ($this->catList as $cat):
                            echo '<a class="cat" href="/index/?cat_id='. $cat['cat_id'] .'" title="'. $cat['cat_name'] .'">' . $cat['cat_name'] . '</a>';
                    endforeach;
                }
            ?>
        </td>
		<td height="62" align="center" class="myheader"><form id="form1" name="form1" method="get" action="">
			关键字 <input name="keywords" type="text" id="keywords" maxlength="128" class="search_input" value="<?php echo isset($this->search['keywords']) ? $this->search['keywords'] : '' ;?>" />
					<input type="submit" class="search_button" value="搜索" />
		</form></td>
	</tr>

	<tr>
		<td width="64%">&nbsp;</td>
		<td width="36%">&nbsp;</td>
	</tr>
</table>

<div class="list-div" id="listDiv">
<table width="100%" border="0" ellpadding="3" cellspacing="1">
	<tr>
		<th width="10%" scope="col">新闻编号</th>
		<th width="16%" scope="col">所属分类</th>
		<th width="25%" scope="col">标题</th>
		<th width="23%" scope="col">关键字</th>
		<th width="16%" scope="col">添加时间</th>
		<th width="10%" scope="col">作者</th>
	</tr>
            <?php
            foreach ($this->list as $article):
                ?>
            <tr>
                <td><?php echo $article['article_id'];?></td>
                <td><?php echo $article['cat_name']; ?></td>
                <td><a target="_blank" href="/index/detail/article_id/<?php echo $article['article_id'];?>"><?php echo $article['title'];?></a></td>
                <td><?php echo $article['keywords'];?></td>
                <td><?php echo $article['add_time'];?></td>
                <td><a target="_blank" href="/index/detail/article_id/<?php echo $article['article_id'];?>">查看</a></td>
            </tr>
            <?php
            endforeach;
            ?>
</table>
    <div class="page"><?php echo $this->pageResult;?></div>
</div>

